package org.omg.GIOP;

//

import com.cognition.util.marshal.JavaPrimitiveInputStream;
import com.cognition.util.marshal.JavaPrimitiveOutputStream;
import java.io.IOException;

// Struct definition : MessageHeader_1_1
//
// @author OpenORB Compiler
//
public final class MessageHeader_1_1 implements org.omg.CORBA.portable.IDLEntity
{
	//
	// Struct member magic
	//
	public char[] magic;

	//
	// Struct member GIOP_version
	//
	public org.omg.GIOP.Version GIOP_version;

	//
	// Struct member flags
	//
	public byte flags;

	//
	// Struct member message_type
	//
	public byte message_type;

	//
	// Struct member message_size
	//
	public int message_size;

	//
	// Default constructor
	//
	public MessageHeader_1_1()
	{ }

	//
	// Constructor with fields initialization
	// @param	magic	magic struct member
	// @param	GIOP_version	GIOP_version struct member
	// @param	flags	flags struct member
	// @param	message_type	message_type struct member
	// @param	message_size	message_size struct member
	//
	public MessageHeader_1_1( char[] magic, org.omg.GIOP.Version GIOP_version, byte flags, byte message_type, int message_size )
	{
		this.magic = magic;
		this.GIOP_version = GIOP_version;
		this.flags = flags;
		this.message_type = message_type;
		this.message_size = message_size;
	}


}
